//
//  HomeDataTool.h
//  laowu
//
//  Created by Northwan on 15/4/30.
//  Copyright (c) 2015年 长沙市岳麓区立早网络科技有限公司. All rights reserved.
//

#import "BaseDataTool.h"
#import "TrainInfoRes.h"
#import "ResumeRes.h"
#import "ResumeListRes.h"
@interface HomeDataTool : BaseDataTool
//获取培训信息
+(void)getTrainInfoData:(NSInteger)maxId keywords:(NSString*)keywords success:(void (^)(TrainInfoRes *result))success failure:(void (^)(NSError *error))failure;
//报名培训机构
+(void)applyTrainInfo:(NSInteger)contentId success:(void (^)(BaseResponse *result))success failure:(void (^)(NSError *error))failure;
//获取简历信息
+(void)getResumeInfo:(void (^)(ResumeRes *result))success failure:(void (^)(NSError *error))failure;
//修改简历信息
+(void)setResumeInfo:(NSString *)workType techLevel:(NSString*)techLevel salary:(NSString*)salary province:(NSString*)province city:(NSString *)city success:(void (^)(BaseResponse *result))success failure:(void (^)(NSError *error))failure;

/**
 *  工程信息发布
 */
+(void)uploadProjectWithParam:(NSDictionary *)param success:(void (^)(BaseResponse *result))success failure:(void (^)(NSError *error))failure;

/**
 *  推送绑定
 *
 *  @param channelId 百度推送返回的 channel_id
 *  @param bUserId   百度推送返回的 user_id
 *  @param success
 *  @param failure
 */
+(void)pushBindWithChannelId:(NSString *)channelId bUserId:(NSString *)bUserId success:(void (^)(BaseResponse *result))success failure:(void (^)(NSError *error))failure;


/**
 *  获取简历列表
 *
 *  @param maxId
 *  @param success
 *  @param failure
 */
+(void)getResumeListWithKeyword:(NSString*)key_word area:(NSString*)area job:(NSString*)job start:(NSString*)start end:(NSString*)end maxId:(NSInteger)maxId success:(void (^)(ResumeListRes *result))success failure:(void (^)(NSError *error))failure;



@end
